# Contributor: guddaff <alpine@guddaff.de>
# Maintainer: guddaff <alpine@guddaff.de>
pkgname=py3-qasync
_pkgname=qasync
pkgver=0.19.0
pkgrel=0
pkgdesc="asyncio in Qt-based applications"
url="https://github.com/CabbageDevelopment/qasync"
arch="noarch"
license="BSD-2-Clause"
depends="python3"
makedepends="py3-setuptools py3-qt5"
checkdepends="py3-pytest"
options=!check #test segfaults
source="$pkgname-$pkgver.tar.gz::https://github.com/CabbageDevelopment/$_pkgname/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
a46f5b335b12592c134c7e2e1bf42a4599aa130f8f98071e51af299c8687d588480e3c76bc12bcc918e488fbe0c86b2b45c785eed4ba0cb68a8c3f8962d7141e  py3-qasync-0.19.0.tar.gz
"
